import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';

import { AddBankAccountPage } from './add-bank-account.page';

const routes: Routes = [
  {
    path: '',
    component: AddBankAccountPage
  },
  {
    path: 'scan-card',
    loadChildren: () => import('./scan-card/scan-card.module').then( m => m.ScanCardPageModule)
  },  {
    path: 'account-info',
    loadChildren: () => import('./account-info/account-info.module').then( m => m.AccountInfoPageModule)
  },
  {
    path: 'account-sms',
    loadChildren: () => import('./account-sms/account-sms.module').then( m => m.AccountSmsPageModule)
  },
  {
    path: 'account-success',
    loadChildren: () => import('./account-success/account-success.module').then( m => m.AccountSuccessPageModule)
  }

];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule],
})
export class AddBankAccountPageRoutingModule {}
